package com.shop.cereshop.business.dao.dl;

import com.shop.cereshop.business.dl.logic.domian.CareShopNewsForwardLog;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @param
 * @description:商家端-资讯转发数据统计
 * @return:
 * @author:作者:YF
 * @time:日期:2021/6/15 时间:15:56
 */
@Mapper
public interface CareShopNewsForwardLogDAO {

    /**
     * @description:根据资讯Id查询转发(统计数量)
     * @param newsId
     * @return:
     * @author:作者:YF
     * @time:日期:2021/6/16  时间:9:41
     */
    Long getNewsStatisticsCount(@Param("newsId") Integer newsId);

    /**
     * @description:根据资讯Id查询用户数据
     * @param newsId
     * @return:
     * @author:作者:YF
     * @time:日期:2021/6/16  时间:9:41
     */
    List<CareShopNewsForwardLog> getNewsStatistics(@Param("newsId") Integer newsId, @Param("page") Integer page, @Param("row") Integer row);





}
